package io.gitee.twoke.generator.engine.impl.persistence.entity;

import io.gitee.twoke.generator.engine.impl.generate.DataTable;
import io.gitee.twoke.generator.engine.impl.generate.impl.DataTableQueryImpl;

import java.util.List;

public interface DataTableEntityManager extends EntityManager<DataTableEntity>{

    long findDataTableCountByQueryCriteria(DataTableQueryImpl dataTableQuery);

    List<DataTable> findDataTablesByQueryCriteria(DataTableQueryImpl dataTableQuery);

    long findDataTableCountByTableName(String tableName);

    DataTable findByTableName(String tableName);
}